package top.huxy.boot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.huxy.boot.model.vo.VONavSite;

import java.util.List;

/**
 * @author HuXY
 * @since 2021-12-31 16:23:21
 */
@Mapper
@Repository
public interface UserSaveSiteMapper {

    int insert(Integer id, String userId,long createTime);

    List<VONavSite.NavItem> getHistorySite(String id);

    int removeAllHistory(String id);

    int removeSiteById(String id, List<Integer> idList);
}
